package com.example.service;


import com.aliyun.oss.model.PutObjectResult;
import com.aliyuncs.exceptions.ClientException;
import com.common.result.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;


public interface CommonService {

    PutObjectResult upload(MultipartFile file) throws ClientException;

    String uploadLocal(MultipartFile file) throws IOException;
}
